home *** CD-ROM | disk | FTP | other *** search
/ Developer Source 7 / developer source - volume 7.iso / webin / feb97 / hornf106.gif < prev    next >
Graphics Interchange Format  |  1997-06-27  |  30KB  |  380x537  |  4-bit (15 colors)
Labels: text | screenshot | font | number | black and white | document
OCR: Name Definition Window The Window object is the top-level object in the hierarchy. Each frame is also a window. When referring to an object using dot notation, Window may be omitted. The Window object is present at all times. Document The Document object holds information about the HTML document such as URL, colors, and arrays of forms, links, and anchors, The Document object is present at all times. Frame The Frame object includes any frames that make up the page. The Frame object is present only when frames are in use. Frames are listed in the document's frames array. History The History object is an ordered list of URLs that the current window has visited. It can be used to link back to previous pages. The History object is present at all times. Location The Location object stores the complete URL of the current location, The Location object is present at all times. parent The parent property refers to the <FRAMESET>> Window of a frame and provides a way for various frames to refer to each other. The parent property is present only when frames are in use. self The self property always refers to the current window or frame top The top property is the top-most window in a group of framesets. The top property is present only when frames are in use. Anchor The Anchor object refers to any text that is the target of a hypertext link, defined using the <A NAME = " tag. Anchors are listed in the document's anchors property. Form The Form object refers to each form included in a document. Forms are listed in the document's forms property. Link The Link object refers to any hypertext links contained in the document. Links are listed in the document's links property. Links with anchors will be listed in both the links and anchors arrays. Element The Element object refers to any element of a form, e.g. a button. Elements are listed in each form's elements property. Figure 6: JavaScript's built-in objects and properties.